<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>试验检测</title>
<script type="text/javascript" src="<c:url value='/scripts/global.js'/>"></script>
<script type="text/javascript">
	function returnType() {
		var d = document, items = d.getElementsByName("ord"), str = "";
		for ( var i = 0; i < items.length; i++) {
			if (items[i].checked) {
				str = str + items[i].value + ":";
			}
		}
		if (str == "") {
			alert('请选择要操作的对象!');
			return false;
		}
		//$(window.parent.getCodeName('<s:property value="inputTypeId"/>', str));
		$(window.parent.getCodeName('${inputTypeId}', str));
		$(window.parent.close());

	}
</script>
</head>
<body>
	<div id="message">
		<s:actionmessage theme="custom" cssClass="success" />
	</div>
	<form id="mainForm" action="" method="get" class="yform">
		<div id="content">
			<table>
				<tr>

					<th colspan="5">检验项目</th>
				</tr>
				<tr>
					<td><input type="checkbox" name="ord" value="<pt:code category='5019' code='11'></pt:code>"> 
						<pt:code category='5019' code='11'></pt:code>
					</td>
					<td><input type="checkbox" name="ord"value="<pt:code category='5019' code='12'></pt:code>">
						<pt:code category='5019' code='12'></pt:code>
					</td>
					<td><input type="checkbox" name="ord" value="<pt:code category='5019' code='13'></pt:code>">
						<pt:code category='5019' code='13'></pt:code>
					</td>
					<td><input type="checkbox" name="ord" value="<pt:code category='5019' code='14'></pt:code>">
						<pt:code category='5019' code='14'></pt:code>
					</td>
					<td><input type="checkbox" name="ord" value="<pt:code category='5019' code='15'></pt:code>">
						<pt:code category='5019' code='15'></pt:code>
					</td>
				</tr>
				<tr>
					<th colspan="5">试验依据</th>
				</tr>
				<tr>
					<td colspan="5">GB/T
						5101-2003《烧结普通砖》，JC/T446-2000《混泥土路面砖》，GB11945-1999《蒸压灰砂砖》</td>
					<tr>
			</table>
			<div class="type-button">
				<input type="button" onclick="returnType()" value="选择"
					class="submit"></input>
			</div>
		</div>
	</form>
</body>
</html>
